package com.jiang.lianxi;

import java.util.Scanner;

public class SanShuZuiMax {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入第一个数：");
        int i = sc.nextInt();
        System.out.println("请输入第二个数：");
        int j = sc.nextInt();
        System.out.println("请输入第三个数：");
        int t = sc.nextInt();
        int c = i > j ? i : j;
        int max = c > t ? c : t;
        System.out.println("最大值为：" + max);
    }
}
